package com.ece.ecofitness.model;

public class User {

	private String login;
	private String password;
	private boolean admin;
	private String nom;
	private String prenom;
	
	
	public User(String login, String password, boolean admin, String nom,
			String prenom) {
		super();
		this.login = login;
		this.password = password;
		this.admin = admin;
		this.nom = nom;
		this.prenom = prenom;
	}
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public String getPrenom() {
		return prenom;
	}
	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}
	public String getLogin() {
		return login;
	}
	public void setLogin(String login) {
		this.login = login;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public boolean isAdmin() {
		return admin;
	}
	public void setAdmin(boolean admin) {
		this.admin = admin;
	}
	
	
}
